package com.wzy.config;


import com.wzy.utils.IdWorker;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;


@Configuration
public class MyConfig {

    @Bean
    public IdWorker idWorker() {
        return new IdWorker();
    }

}
